

#import <Foundation/Foundation.h>


@interface  RYCellData : NSObject

@property (nonatomic, assign) int type;
@property (nonatomic, assign) float height;
@property (nonatomic, strong) NSMutableDictionary *dicData;

+ (id)cellWithDic:(NSMutableDictionary *)dicData;

@end



@interface RYGroupData : NSObject

@property (nonatomic, assign) float footViewHeight;
@property (nonatomic, assign) float	titleViewHeight;
@property (nonatomic, assign) int type;
@property (nonatomic, assign) BOOL foldingState;//NO为折叠状态，YES为非折叠状态
@property (nonatomic, strong) NSArray *arraySection; //为了在group组内进行索引创建的数组。
@property (nonatomic, strong) NSDictionary *dicData; //保存用户数据。
@property (nonatomic, strong) NSString *title;
@property (nonatomic, strong) NSMutableArray *allCells;

- (id) init;
- (NSUInteger)count;
- (void)addObject:(id)anObject;
- (id)objectAtIndex:(NSUInteger)index;

- (RYCellData *)addCellWithType:(int)cellType height:(int)cellHeight;
- (RYCellData *)addCell:(RYCellData *)theCell cellType:(int)cellType height:(int)cellHeight;

@end



@interface PFTableData : NSObject

@property (nonatomic, strong) NSMutableArray *allGroups;

- (id) init;
- (NSUInteger)count;
- (void)addObject:(id)anObject;
- (id)objectAtIndex:(NSUInteger)index;
- (RYGroupData *)addGroupWithType:(int)groupType title:(NSString *)groupTitle;


@end

